const dikaer0 = (list1, list2) => {
    let datas = []
    for (let i = 0; i < list1.length; i++) {
        for (let j = 0; j < list2.length; j++) {
            let data = {}

            for (let key in list1[i]) {
                data[key+""] = list1[i][key]
            }
            for (let key in list2[j]) {
                data[key+""] = list2[j][key]
            }
            console.log(data)
            datas.push(data)
        }
    }
    return datas
}
/**
 * 格式 target[arr1[],arr2[],arr3[]...arrn[]]
 * @param targetArray
 */
const diskaer = (targetArray) => {
    let index = 0;
    let arr0 = targetArray[0]
    while ((index + 1) <= targetArray.length - 1) {
        arr0 = dikaer0(arr0, targetArray[index + 1]);
        index++;
    }
    console.log(arr0)
    return arr0
}
export {diskaer}